package com.ds.lens.data.vo.in.v2.dashboard;

import com.ds.lens.data.vo.in.Sort;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Range;

import java.util.List;

/**
 * @author WeiShaoying
 * @date 2019/11/6 下午5:29
 */
@Setter
@Getter
public class LensDashboardListInVO {

    private List<Long> applicationIds;

    private String name;
    @Range(min = 1, max = 2, message = "Dashboard类型异常")
    private Integer type;

    private Sort sort;

    /**
     * 告警ID
     */
    private Long monitorId;

    /**
     * 告警版本号
     */
    private Integer monitorVersion;
}
